========================================
GSPy: The GoldSim-Python Bridge
Version: 1.8.9
========================================
2026-01-23 18:02:01 - DEBUG: GSPy called with MethodID: 2
2026-01-23 18:02:01 - INFO: Reporting version to GoldSim: 1.8.9
2026-01-23 18:02:01 - DEBUG: GSPy called with MethodID: 3
2026-01-23 18:02:01 - --- Initializing Python Manager ---
2026-01-23 18:02:01 - DEBUG: Reading config file: C:\Users\JasonLillywhite\GoldSim\GTGData - Documents\Library\Software Features\DLLs and Scripts\PythonDLL\gspy\examples\Mixed Data Tests\GSPy_314.json
2026-01-23 18:02:01 - DEBUG: Config file opened successfully.
2026-01-23 18:02:01 - DEBUG: Config file parsed successfully.
2026-01-23 18:02:01 - INFO: Config read successfully.
2026-01-23 18:02:01 - INFO: Python interpreter is not initialized. Initializing now...
2026-01-23 18:02:01 - DEBUG: Using python_path from config: C:\Users\JasonLillywhite\AppData\Local\Programs\Python\Python314
2026-01-23 18:02:01 - DEBUG: Initializing NumPy C-API...
2026-01-23 18:02:01 - DEBUG: NumPy C-API initialized successfully.
2026-01-23 18:02:01 - DEBUG: Adding current directory to Python sys.path...
2026-01-23 18:02:01 - DEBUG: Current directory added to path.
2026-01-23 18:02:01 - DEBUG: Script path from config: mixed_types.py
2026-01-23 18:02:01 - DEBUG: Function name from config: process_data
2026-01-23 18:02:01 - DEBUG: Attempting to import Python module: mixed_types
2026-01-23 18:02:01 - DEBUG: Module imported successfully.
2026-01-23 18:02:01 - DEBUG: Attempting to get function 'process_data' from module...
2026-01-23 18:02:01 - DEBUG: Function found successfully.
2026-01-23 18:02:01 - --- Python Manager initialization successful ---
2026-01-23 18:02:01 - DEBUG: GetNumberOfInputs detected a dynamic time series. Returning -1.
2026-01-23 18:02:01 - DEBUG: GetNumberOfOutputs calculated a total of: 2527
2026-01-23 18:02:01 - DEBUG: GSPy called with MethodID: 0
2026-01-23 18:02:01 - --- Initializing Python Manager ---
2026-01-23 18:02:01 - INFO: Python interpreter is already initialized.
2026-01-23 18:02:01 - --- Python Manager initialization successful ---
2026-01-23 18:02:01 - DEBUG: GSPy called with MethodID: 1
2026-01-23 18:02:01 - INFO: --- Executing Calculation Cycle ---
2026-01-23 18:02:01 - DEBUG: Preparing 8 input argument(s) for Python.
2026-01-23 18:02:01 - DEBUG:   Input #0: Type='vector'
2026-01-23 18:02:01 - DEBUG:   Input #1: Type='scalar'
2026-01-23 18:02:01 - DEBUG:   Input #2: Type='scalar'
2026-01-23 18:02:01 - DEBUG:   Input #3: Type='matrix'
2026-01-23 18:02:01 - DEBUG:   Input #4: Type='scalar'
2026-01-23 18:02:01 - DEBUG:   Input #5: Type='timeseries'
2026-01-23 18:02:01 - --- TimeSeriesManager: Marshalling GoldSim Time Series to Python ---
2026-01-23 18:02:01 - DEBUG:   TS Metadata: ts_id = 20.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: format_version = -3.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: time_basis = 0.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: data_type = 0.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_rows = 0
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_cols = 0
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_series = 1
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_time_points = 3
2026-01-23 18:02:01 - DEBUG:   TS Marshalling: Successfully created Python dictionary.
2026-01-23 18:02:01 - DEBUG:   Input #6: Type='timeseries'
2026-01-23 18:02:01 - --- TimeSeriesManager: Marshalling GoldSim Time Series to Python ---
2026-01-23 18:02:01 - DEBUG:   TS Metadata: ts_id = 20.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: format_version = -3.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: time_basis = 0.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: data_type = 0.000000
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_rows = 0
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_cols = 0
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_series = 1
2026-01-23 18:02:01 - DEBUG:   TS Metadata: num_time_points = 3
2026-01-23 18:02:01 - DEBUG:   TS Marshalling: Successfully created Python dictionary.
2026-01-23 18:02:01 - DEBUG:   Input #7: Type='scalar'
2026-01-23 18:02:01 - DEBUG: Calling Python function...
2026-01-23 18:02:01 - INFO: Processing mixed data types
2026-01-23 18:02:01 - DEBUG: Python call successful. Processing 7 result(s).
2026-01-23 18:02:01 - DEBUG:   Output #0: Type='matrix'
2026-01-23 18:02:01 - DEBUG:   Output #1: Type='timeseries'
2026-01-23 18:02:01 - --- TimeSeriesManager: Marshalling Python Time Series to GoldSim ---
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Array ndim = 1
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Array shape = (3)
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Scalar time series, num_rows = 0, num_cols = 0
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Writing header - ts_id=20.0, format=-3.0, time_basis=0.000000, data_type=0.000000
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Writing header - num_rows=0.000000, num_cols=0.000000, num_series=1.0
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Writing 3 timestamps
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Writing 3 data values
2026-01-23 18:02:01 - DEBUG:   Python->GoldSim: Successfully marshalled time series to GoldSim
2026-01-23 18:02:01 - DEBUG:   Output #2: Type='scalar'
2026-01-23 18:02:01 - DEBUG:   Output #3: Type='table'
2026-01-23 18:02:01 - --- LookupTableManager: Marshalling Python Lookup Table to GoldSim ---
2026-01-23 18:02:01 - DEBUG:   Marshalling 2D Lookup Table.
2026-01-23 18:02:01 - DEBUG:   Output #4: Type='vector'
2026-01-23 18:02:01 - DEBUG:   Output #5: Type='vector'
2026-01-23 18:02:01 - DEBUG:   Output #6: Type='scalar'
2026-01-23 18:02:01 - INFO: --- Calculation Cycle Complete ---
2026-01-23 18:02:01 - DEBUG: GSPy called with MethodID: 99
2026-01-23 18:02:01 - INFO: --- Finalizing Python Manager ---
2026-01-23 18:02:01 - INFO: Shutting down Python interpreter.
2026-01-23 18:02:01 - INFO: GSPy session finished successfully
